package com.chuangsi.project.admin.dto.esign;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author wangshengming
 * @date 2023/12/11
 */
@Data
public class ResESignOrgAuthDto {

    @ApiModelProperty(value = "业务码，0表示成功，非0表示异常。")
    private Integer code;

    @ApiModelProperty(value = "业务信息")
    private String message;

    @ApiModelProperty(value = "data")
    private ResData data;

    @Data
    public static class ResData {

        @ApiModelProperty(value = "实名认证状态：0 - 未实名，1 - 已实名")
        private Integer realnameStatus;

        @ApiModelProperty(value = "是否授权身份信息给当前应用：true - 已授权，false - 未授权")
        private Boolean authorizeUserInfo;

        @ApiModelProperty(value = "组织id")
        private String orgId;

        @ApiModelProperty(value = "组织机构名称")
        private String orgName;
     }
}
